﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;

public partial class UserControl_ShoppingCart_DetailsInfoCustomer : System.Web.UI.UserControl
{
    public KhachHangBUS KhachHangBus { get; set; }

    protected void Page_Load(object sender, EventArgs e)
    {        
            DisplayDetailsInfoCustomer();
    }

    private void DisplayDetailsInfoCustomer()
    {
        if (KhachHangBus != null)
        {
            lblHoTen.Text = KhachHangBus.HoTen;
            lblDiaChi.Text = KhachHangBus.DiaChi;
            lblSoDienThoai.Text = KhachHangBus.SoDienThoai;
            lblEmail.Text = KhachHangBus.Email;
            lblCMND.Text = KhachHangBus.CMND;
        }
    }
   
}